﻿using WMS.FC.Domain.PersistenceObject.Business;

namespace WMS.FC.Domain.Repository
{
    public interface IMaterialRepository : IRepositoryBase
    {
        /// <summary>
        /// 根据绑定标识码获取物料
        /// </summary>
        /// <param name="materialTypeCodeList"></param>
        /// <param name="bindBarcode"></param>
        /// <returns></returns>
        Task<MaterialPO?> GetMaterialByBindCode(List<string> materialTypeCodeList, string bindBarcode);

        /// <summary>
        /// 根据物料编码获取物料
        /// </summary>
        /// <param name="materialCode"></param>
        /// <returns></returns>
        Task<MaterialPO?> GetMaterialByCode(string materialCode);
    }
}
